<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>经典蓝牙插件</h1>
    </div>
    <div role="main" class="ui-content">
        <p>请查看一下调用示例</p>
        <div data-role="collapsible">
            <h1>扫描蓝牙</h1>
            <button  onclick="bluetoothScan()" class="ui-btn ui-btn-a">点击扫描蓝牙</button>
            <div id="bleInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>停止扫描</h1>
            <button  onclick="stopScan()" class="ui-btn ui-btn-a">点击停止扫描</button>
            <div id="stopScanInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>获取选定蓝牙设备的uuids</h1>
            <button  onclick="getUuids()" class="ui-btn ui-btn-a">点击获取选定蓝牙设备的uuids</button>
            <div id="uuidsInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>连接蓝牙</h1>
            <button  onclick="bluetoothConnect()" class="ui-btn ui-btn-a">点击连接蓝牙</button>
            <div id="connectInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>是否连接</h1>
            <button  onclick="isBluetoothConnect()" class="ui-btn ui-btn-a">点击是否连接</button>
            <div id="isConnectInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>连接是否可管理</h1>
            <button  onclick="isBluetoothConnectManage()" class="ui-btn ui-btn-a">点击连接是否可管理</button>
            <div id="isConnectManageInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>打印数据</h1>
            <button  onclick="bluetoothWrite()" class="ui-btn ui-btn-a">点击打印数据</button>
            <div id="writeInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>关闭连接</h1>
            <button  onclick="bluetoothDisConnect()" class="ui-btn ui-btn-a">点击关闭连接</button>
            <div id="disconnectInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>是否可以关闭连接</h1>
            <button  onclick="stopConnectionManager()" class="ui-btn ui-btn-a">点击是否可以关闭连接</button>
            <div id="stopConnectManageInfo" width="100%"></div>
        </div>
    </div>
</div>
